package com.anjufang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 导入-房源数据
 * </p>
 *
 * @author wcy
 * @since 2021-11-04
 */
@TableName("source_house")
public class SourceHouse extends Model<SourceHouse> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	/**
	 * 任务ID
	 */
	@TableField("task_id")
	private Long taskId;
    /**
     * 地址
     */
	private String address;
    /**
     * 楼层
     */
	private String floor;
    /**
     * 房号
     */
	@TableField("room_no")
	private String roomNo;
	/**
	 * 户型
	 */
	private String huxing;
	/**
	 * 房屋类型
	 */
	@TableField("house_type")
	private String houseType;
	/**
	 * 建筑面积，单位平米
	 */
	@TableField("area_space")
	private String areaSpace;
	/**
	 * 套内面积，单位平米
	 */
	@TableField("room_space")
	private String roomSpace;
    /**
     * 备注
     */
	private String remark;
    /**
     * 类型：0-普通房，1-职工房
     */
	private Integer type;
    /**
     * 房屋分配状态：0-未分配，1-已分配
     */
	private Integer status;
    /**
     * 创建日期
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新日期
     */
	@TableField("update_time")
	private Date updateTime;
    /**
     * 是否删除：0-未删除，1-已删除
     */
	@TableField("is_deleted")
	private Integer isDeleted;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(String roomNo) {
		this.roomNo = roomNo;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getHuxing() {
		return huxing;
	}

	public void setHuxing(String huxing) {
		this.huxing = huxing;
	}

	public String getHouseType() {
		return houseType;
	}

	public void setHouseType(String houseType) {
		this.houseType = houseType;
	}

	public String getAreaSpace() {
		return areaSpace;
	}

	public void setAreaSpace(String areaSpace) {
		this.areaSpace = areaSpace;
	}

	public String getRoomSpace() {
		return roomSpace;
	}

	public void setRoomSpace(String roomSpace) {
		this.roomSpace = roomSpace;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
